//StudybarCommentBegin
#include <stdio.h>

int main()
{

    int a, b;

    scanf("%d", &a);

    //StudybarCommentEnd
    a = a + 1;
    //StudybarCommentBegin
    printf("%d", a);
    return 0;
}

//StudybarCommentEnd